package com.ruoyi.assignments.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.assignments.domain.ExpertAssignments;

/**
 * 专家分配中间表Service接口
 * 
 * @author ruoyi
 * @date 2025-04-24
 */
public interface IExpertAssignmentsService extends IService<ExpertAssignments>
{
    /**
     * 查询专家分配中间表
     * 
     * @param assignmentId 专家分配中间表主键
     * @return 专家分配中间表
     */
    public ExpertAssignments selectExpertAssignmentsByAssignmentId(Long assignmentId);

    /**
     * 查询专家分配中间表列表
     * 
     * @param expertAssignments 专家分配中间表
     * @return 专家分配中间表集合
     */
    public List<ExpertAssignments> selectExpertAssignmentsList(ExpertAssignments expertAssignments);

    /**
     * 新增专家分配中间表
     * 
     * @param expertAssignments 专家分配中间表
     * @return 结果
     */
    public int insertExpertAssignments(ExpertAssignments expertAssignments);

    /**
     * 修改专家分配中间表
     * 
     * @param expertAssignments 专家分配中间表
     * @return 结果
     */
    public int updateExpertAssignments(ExpertAssignments expertAssignments);

    /**
     * 批量删除专家分配中间表
     * 
     * @param assignmentIds 需要删除的专家分配中间表主键集合
     * @return 结果
     */
    public int deleteExpertAssignmentsByAssignmentIds(Long[] assignmentIds);

    /**
     * 删除专家分配中间表信息
     * 
     * @param assignmentId 专家分配中间表主键
     * @return 结果
     */
    public int deleteExpertAssignmentsByAssignmentId(Long assignmentId);
}
